using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Castle.ActiveRecord;
using Demo.Model;
using Pampa.MVC.Models;
using Pampa.GenericEntity;

namespace Pampa.MVC.Controllers
{
    public class ContentController : Controller
    {
        public ActionResult Grid()
        {
            ViewBag.ContentItemType = "Person";			
            return View();
        }

        public ActionResult New()
        {
			ViewBag.ContentItem = new Pampa.GenericEntity.GenericEntity();
            ViewBag.ContentItemType = "Person";
            return View("Edit");
        }

        public ActionResult Edit(int id)
        {
			// TODO
			
            return View("Edit");
        }
		
        public ActionResult Delete(int id)
        {
            // TODO
			
            return Json(new {error = "Not implemented"});			
        }
    }
}
